import App from "next/app";

import "antd/dist/antd.css"; // 这里的css样式直接作用于Container组件

const Container = ({ Component, pageProps }) => {
  return <Component {...pageProps} />;
};

Container.getInitialProps = async (appContext) => {
  const appProps = await App.getInitialProps(appContext);
  return {
    ...appProps,
  };
};
export default Container;
